﻿
.sidebar-menu > li > a, .treeview-menu > li > a {
    font-weight: 600 !important;
}

.main-sidebar {
    background-color: #2f4050 !important;
} 

.panel-body th,
.panel-body td {
    text-align: center;
}

.switch .fa-toggle-on, .fa-toggle-off {
    font-size: 24px;
    cursor: pointer;
}

.login-page, .register-page {
    height: auto;
    background: #eeeeee;
}

.modal .panel-primary {
    width: auto;
    margin: 20px;
}

@media (min-width: 768px) {
    .modal .panel-primary {
        width: 760px;
        margin: 50px auto;
    }
}

.Switch .fa-toggle-on,
.fa-toggle-off {
    font-size: 20px;
}

.errLabel {
    font-size: 12px;
    font-weight: normal;
}

.text-white {
    color: white;
}

.label-teal {
    background-color: #39CCCC;
}

.label-purple {
    background-color: #605ca8;
}
 
.layui-layer-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px !important;
    color: inherit;
}

.layui-layer {
    border-radius: 5px !important;
}

.layui-layer-btn a {
    border-radius: 5px !important;
    line-height: 25px !important;
}
 

.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 34px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #d2d6de;
    border-radius: 0;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 0;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
}

.m {
    margin: 15px;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
}

.panel-title a {
    cursor: pointer;
    margin-left: 5px;
    color: #fff;
}

.search {
    display: none;
}
.form-control {
    border-radius: 5px;
}
.m-b-none {
    margin-bottom: 0;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ccc;
    border-radius:5px;
}
/*.input-group-addon {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}*/
.cursor-pointer {
    cursor: pointer;
}
/*.box-header { 
    padding: 10px 0 10px 0 !important;  
}*/
 
/*---滚动条默认显示样式--*/
::-webkit-scrollbar-thumb {
    height: 50px;
    outline-offset: -2px;
    outline: 2px solid #fff;
    -webkit-border-radius: 4px;
    border: 2px solid #fff;
}

    /*---鼠标点击滚动条显示样式--*/
    ::-webkit-scrollbar-thumb:hover {
        height: 50px;
        -webkit-border-radius: 4px;
    }

/*---滚动条大小--*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/*---滚动框背景样式--*/
::-webkit-scrollbar-track-piece {
    -webkit-border-radius: 0;
}

::-webkit-scrollbar-track {
    background-color: #eee;
}
/* 滚动条的滑轨背景颜色 */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
}
/* 滑块颜色 */
::-webkit-scrollbar-button {
    background-color: #eee;
}
/* 滑轨两头的监听按钮颜色 */
::-webkit-scrollbar-corner {
    background-color: black;
}
/* 横向滚动条和纵向滚动条相交处尖角的颜色 */
/* 去除bootstrap中按钮的黑线边框 */
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
    box-shadow: none;
}

table {
    border: 1px solid #e7eaec;
}

    table th {
        background: #ffffff !important;
        color: #333;
    }

    table th {
        text-align: center;
    }

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
    font-size: 1rem !important;
    margin-right: 6px;
}

.select2-container--default {
    height: 32px;
}

    .select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
        border: 1px solid #d2d6de;
        border-radius: 5px;
        padding: 6px !important;
        height: 32px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

.select2-container--focus.select2-container--open .select2-selection--single {
    /*border-color: #3c8dbc !important; 这里是没有阴影的设置颜色*/
    border-color: #66afe9;
    outline: 0;
    /* -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);*/
}

.fixed-table-loading {
    text-align: center !important;
}

.form-control {
    height: 32px;
}

#toolbar .pull-right {
    padding-right: 0 !important;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.7 !important;
    border-radius: 3px;
}
.content {
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 0;
    padding-left: 10px;
}